package com.gotloop.jpa;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.ManyToOne;

@Entity
public class Favorite {

	@Id
	private String uid;
	
	/**
	 * Favorited loop.
	 */
	@ManyToOne
	private Loop loop;
	
	/**
	 * User who favorited the track.
	 */
	@ManyToOne
	private Loop user;

	private Date creation;
	
	private Date deletion;
}
